﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/jui.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    公告信息_列表
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="MainContent" runat="server">
    <div id="layout" class="noNavTab">
        <div id="navTab" class="">
            <div class="pageHeader">
                <h2 class="contentTitle">
                    公告信息</h2>
                <div class="searchBar">
                    <form id="searchForm" onsubmit="loadList(0);return false;">
                    <table class="searchContent">
                        <tr>
                            <td>
                                名称：<input class="textInput" type="text" name="t0_title" id="t0_title" />
                            </td>
                            <td>
                                类型：
                            </td>
                            <td>
                                <select class="combox" name="t0_TypeID" id="t0_TypeID">
                                    <%Html.RenderPartial("~/Views/Shared/selectControl.ascx", selectControlBLL.getProType(8171)); %>
                                </select>
                            </td>
                            <td>
                                状态：
                            </td>
                            <td>
                                <%Html.RenderPartial("~/Views/BaseLibrary/ForStates.ascx"); %>
                            </td>
                        </tr>
                    </table>
                    <div class="subBar">
                        <ul>
                            <li>
                                <div class="buttonActive">
                                    <div class="buttonContent">
                                        <button type="submit">
                                            查询</button></div>
                                </div>
                            </li>
                        </ul>
                    </div>
                    </form>
                </div>
            </div>
            <%
                string menu = "Notice";
                string url = string.Format("/Sys/{0}/List", menu);
                string tname = "Sys_Notice";
                string ename = DencryptHelper.Encrypt(tname);
            %>
            <div class="pageContent">
                <div class="panelBar">
                    <ul class="toolBar">
                        <li>
                            <%= JUIResult.RetunOper(menu,"Sys",false)%></li>
                        <li>
                            <%=JUIResult.RetunOper(menu, "Sys", false, tname)%></li>
                        <li>
                            <%= JUIResult.ReturnOpen(tname, url, "1")%></li>
                        <li>
                            <%= JUIResult.ReturnDel(tname, url, "1")%></li>
                        <li class="line">line</li>
                    </ul>
                </div>
                <!--加载列表-->
                <div id="listDt">
                </div>
                <script language="javascript" type="text/javascript">
                    $(function () {
                        loadList(0);
                    });
                    function loadList(i) {
                        var htmlname = "listDt"; //
                        var pars = $('#t0_title').val() + "," + $('#t0_TypeID').val();
                        var name = "0_title__3,0_TypeID__3";
                        var tName = '<%=ename %>';
                        var control = "Sys/Notice/List";
                        var datebase = "1";
                        var states = $('#states').val();
                        //
                        list(htmlname, pars, name, tName, control, datebase, states);
                    }
                </script>
                <script type="text/javascript" src="/Scripts/pager.js"></script>
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="/content/jui-normal.css" rel="stylesheet" type="text/css" />
</asp:Content>
